T
The type of parameter this thread uses.
LEADTOOLS Medical (Leadtools.Dicom.AddIn assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Execute<T>(Action<T>,T) Method
See Also 
Leadtools.Dicom.AddIn Namespace > AsyncHelper Class > Execute Method : Execute<T>(Action<T>,T) Method



d
The delegate to execute asynchronously.
state
The state information to pass to the thread.
d
The delegate to execute asynchronously.
state
The state information to pass to the thread.
Executes the specified delegate. Provides additional state information to be passed to the thread.

Syntax

Visual Basic (Declaration) 
Overloads Public Shared Function Execute(Of T)( _
   ByVal d As Action(Of T), _
   ByVal state As T _
) As AsyncResult
Visual Basic (Usage)Copy Code
Dim d As Action(Of T)
Dim state As T
Dim value As AsyncResult
 
value = AsyncHelper.Execute(Of T)(d, state)
C# 
public static AsyncResult Execute<T>( 
   Action<T> d,
   T state
)
C++/CLI 
public:
static AsyncResult^ Executegeneric<typename T>
( 
   Action<T^>^ d,
   T^ state
) 

Parameters

d
The delegate to execute asynchronously.
state
The state information to pass to the thread.

Type Parameters

T
The type of parameter this thread uses.

Return Value

The asynchronous result.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Dicom.AddIn requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features